import request from '/@/utils/request'

export const prefix = 'proj'

export function getProjectPage(data: any) {
  return request({
    url: prefix + '/project/getPage',
    method: 'post',
    data
  })
}

export function createProject(data: any) {
  return request({
    url: prefix + '/project/create',
    method: 'post',
    data
  })
}

export function editProject(data: any) {
  return request({
    url: prefix + '/project/edit',
    method: 'post',
    data
  })
}

/**
 * 修改项目阶段
 */
export function modifyStage(data: any) {
  return request({
    url: prefix + '/project/modifyStage',
    method: 'post',
    data
  })
}
